Does a frontier language model forecast prospectively in context?

オープン
#179 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python

調査の方向性

Read the confirmed pseudocode and the existing AstraClassifier and benchmarks/astra/ work referenced in #185. Start with the one seed of periodic-single to measure tokens and cost, then run seeds 0–2; use the measured cost to decide whether to run linear-drift-steep. Done means a results PR adds the runs and reports them on the pages.

索引モデルが issue の本文から書いたものです。

説明

experiment

Question

Does a frontier language model, reading a stream in context, forecast it prospectively? GPT-6.2 Astra reads the history as rows of $t$, $x$ and $y$, and labels each future query. No weights change. On periodic-single and linear-drift-steep, does it leave chance, and does it come near the arms with time features?

Chronos-2, the pretrained forecaster run so far, stays at chance on periodic-single (#115). Astra reads the step $t$ itself, and it can reason over the rows before it answers.

Figure that answers it

The risk-over-time figures of periodic-single, then linear-drift-steep, with an Astra arm added. On each, the Bayes level is 0 and chance is 0.5. The baselines are Chronos-2 on periodic-single, and OMLP on linear-drift-steep. Astra has no FLOPs, so the FLOPs figures leave it out. A table gives its tokens and dollars per run.

Decided

Maintainer, 2026-12-02:

  • Model: gpt-6.2-astra only, with reasoning effort low.
  • Prompt: the bare task. It holds the rows of $t$, $x$ and $y$, then the query rows of $t$ and $x$, and asks for one label of 0 or 1 per query. It gives no hint that the rule changes over time.
  • Evaluation: $K = 100$, as for every other arm. periodic-single runs first. linear-drift-steep runs only after a decision made with periodic-single's cost known.
  • Resources: input, cached input, output and reasoning tokens, and dollars at a price pinned in the result file. FLOPs are null.
  • Bad replies: up to 2 retries of the same call. A query still unlabeled counts as an error, and the result file counts those queries.
  • Reply format (2026-12-03): query rows are numbered i,t,x, and the model answers i,y lines, matched to rows by i. A row skipped or labeled twice with different labels stays unlabeled and counts as an error. A reply is bad only with no usable i,y line, or with tool use. Why: a smoke call on gpt-6-luna gave 194 labels for 200 rows, and under the earlier rule of exactly one label per row, all 200 scored as errors.
  • Access: through codex exec on the maintainer's ChatGPT login, not an API key.

Decided by the agent, under the repo's rules: the arm is named Astra. $x$ is written to 4 significant figures, and $t$ as an integer. Rows come in step order. Each continuation is its own call, so one future's queries never see another's. The calls run as a baseline in benchmarks/astra/, outside the wheel, through WorkerClassifier.

Open

  1. Codex's tools. codex exec is an agent with a shell, not a bare model. Each call also carries about 23k tokens of Codex's own instructions (measured on one probe call). With a shell, Astra could run code on the rows, so the arm would no longer be in context alone. Options:

    • (a) Treat a reply that ran a command as a bad reply, and retry it (recommended).
    • (b) Allow tools, and report how often they ran.

    Answer: (a). A reply that ran a command counts as a bad reply and is retried, so the arm stays in context. Maintainer, 2026-12-02.

Pseudocode

This draft is for a page in the Algorithms section. It needs confirmation before code.

Input: the history $\mathcal D_{1:t}$ of rows $\left(s, x_{s}, y_{s}\right)$, the $K$ futures' query rows $\left(t+\Delta, x_{t+\Delta}^{(k)}\right)$ for $\Delta = 1, \ldots, H$, and a number of retries $R = 2$

Output: a label $\hat y_{t+\Delta}^{(k)} \in \lbrace 0, 1 \rbrace$ for each $k$ and $\Delta$

  1. learn: keep $\mathcal D_{1:t}$. Nothing is trained. # SL: fitting sets weights. Here it only stores rows
  2. for $k = 1, \ldots, K$ do
    1. prompt: write the task, the rows of $\mathcal D_{1:t}$, and the $H$ query rows of future $k$ as text
    2. for $r = 0, 1, \ldots, R$ do
      1. ask: send the prompt to the model, and read one label per query row from its reply
      2. stop if every query row has a label and no command ran
    3. end for
    4. predict: $\hat y_{t+\Delta}^{(k)}$ is the label read for row $t+\Delta$. A row still unlabeled after $R$ retries counts as an error
  3. end for

At $t = 0$ the history is empty, and the prompt holds only the query rows. Instantaneous risk asks once with the history $\mathcal D_{1:t-1}$ and the rows of step $t$ as the queries. On linear-drift-steep each step holds 20 rows, and a future's query rows are all of its samples over the $H$ steps.

Tasks

  • Pseudocode confirmed by the maintainer, 2026-12-02. Code: AstraClassifier and benchmarks/astra/, in #185, awaiting review by a model from another lab.
  • A pilot on one seed of periodic-single, to measure tokens and cost.
  • Runs on periodic-single, seeds 0 to 2, then the cost decision on linear-drift-steep.
  • A results PR that adds the runs and reports them on the pages.

Result

Pending.

🤖 Generated with Claude Code

主要言語
Python
スター
0
フォーク
0
平均マージ
2時間 9分
マージ済み PR(30日)
164

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

neurodata/prolearn のほかの issue

neurodata/prolearn の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。