23N AI LABS23N Decks / Mithai Shop Challenge / Research Story
01 / THE BUSINESS PROBLEMA FESTIVAL DATE MOVES

Can forecasting help a mithai shop prepare for Diwali?

Diwali demand can arrive in a short seasonal rush. In our study, the festival date shifted by 19 days between years.

The calendar moved by

+19 DAYS

Make too little and the shop can miss sales. Make too much and perishable sweets can go unsold. We asked whether forecasts could help align production with the changing calendar.

23N AI LABS · RESEARCH01 / 12
02 / WHY A MITHAI SHOPFORECASTS MEET PERISHABILITY

A familiar shop makes the tradeoff easy to see.

The setting turns a technical forecasting problem into an operating decision people can picture.

THE CALENDAR

Diwali moves across Gregorian dates. Repeating last year’s timing can put a forecast peak in the wrong weeks.

THE PRODUCT

Mithai is perishable. Producing too early or too much can leave stock unsold.

THE DECISION

Forecasts matter when they help a shop plan production under uncertainty, not just when an average score looks good.

We used a synthetic, calendar-grounded Ahmedabad shop simulation. It is a controlled stress test, not actual retailer data or a model of every Indian shop.

23N AI LABS · RESEARCH02 / 12
03 / THE RESEARCH QUESTIONPEAK · TIMING · UNCERTAINTY

Could the models get the parts of the problem that matter right?

We looked beyond one average-error score to three connected questions.

1 · RECOGNIZE THE SURGE

Does the forecast express a festive demand peak, and how large is it?

2 · PLACE IT ON THE CALENDAR

Does the forecast follow Diwali when its date shifts, or repeat the old pattern?

3 · SUPPORT A DECISION

Is the uncertainty dependable enough to inform production, and what happens to simulated business cost?

A model can show a clear peak and still time it poorly. Better forecast error also does not guarantee a better inventory decision.

23N AI LABS · RESEARCH03 / 12
04 / THE EXPERIMENTMODELS · DATA · COMPUTE

What exactly did we put into the comparison?

A controlled evaluation of three forecasting models and practical alternatives on a synthetic mithai-shop scenario.

ModelEvaluation version (pinned)
Yug-1Hub ec53758 · yug 0.1.1
TimesFM 2.5Hub 1d952420 · timesfm 3.0.2
Chronos-Bolt baseHub 5d9f166d · chronos-forecasting 1.5.3
2019–26daily synthetic demand and observed sales · 3 products
≤30simulated shops in base runs; 20 per robustness scenario
241,920archived forecast rows across study versions and robustness runs

Protocol: zero-shot forecasts, 56-day horizon, up to 2,048 days of context, and float32. Foundation-model inference ran on a Kaggle Tesla T4; baselines and analysis ran locally.

The forecast-row total includes repeated robustness runs, not unique observations. Demand, shops, and financial outcomes are simulated.

23N AI LABS · RESEARCH04 / 12
05 / THE APPROACH13 FORECASTING CONFIGURATIONS

How did we compare the approaches?

Nine core forecasting strategies and four calendar-corrected variants faced the same simulated demand and planning conditions.

3 · FOUNDATION MODELS

Yug-1, TimesFM 2.5, and Chronos-Bolt, each using sales history alone.

2 · STATISTICAL BASELINES

Seasonal naive and ETS, using historical patterns.

2 · CALENDAR REGRESSIONS

Standard regression and a version that accounts for demand hidden by sell-outs.

2 · SHOPKEEPER POLICIES

A fixed 10% production uplift and a calibrated version.

4 · CALENDAR-CORRECTED VARIANTS

Known festival dates added to Yug-1, TimesFM, Chronos, and ETS forecasts.

FAIR COMPARISON · Models forecasted zero-shot. Calendar correction was a separate application step, not a built-in feature. Each forecast informed the same 56-day planning setup.
23N AI LABS · RESEARCH05 / 12
06 / WHAT THE FORECASTS SHOWEDSYNTHETIC +19-DAY SHIFT

Could the forecasts follow the new festival date?

History-only forecasts often leaned toward the old date. Adding calendar information moved peaks closer to the new one.

History-only peak timing

MethodClear peakMedian timing errorOld-date surge
Yug-148%−17 days+29%
TimesFM 2.533%−16 days+15%
Chronos-Bolt23%−19 days+17%
Seasonal naive100%−20 days+45%

Negative timing error means early. Timing is reported only when a clear peak appeared.

WAPE reduction after calendar correction · percentage points

MethodBaseR1R2R3
Yug-110.35.69.44.7
TimesFM 2.56.22.96.02.6
Chronos-Bolt8.04.27.33.7
ETS10.46.79.65.9

These are scenario-specific reductions, not final WAPE scores. All four tested families improved in the reported settings. Supplying the date helped more than switching among tested architectures in this simulation.

23N AI LABS · RESEARCH06 / 12
07 / WHAT CHANGED DECISIONSSIMULATED REGRET PER 56-DAY PLAN

Did the best forecast make the best plan?

The lowest forecast error did not automatically produce the lowest-cost simulated decision.

Forecast and planning methodSimulated regret
Censor-aware calendar regression₹47,602
Calendar regression₹50,855
TimesFM + calendar₹52,847
Yug-1 + calendar₹52,882
TimesFM, history only₹82,656
Yug-1, history only₹87,051

Lower is better. Regret is simulated INR cost per product plan, not actual revenue, profit, or savings. The ₹35 difference between Yug-1 + calendar and TimesFM + calendar is inconclusive: paired 95% interval −₹1,914 to +₹1,603.

The result depends on the forecast and the planning policy together. This table reflects its stated study configuration; figures from separate comparisons should not be mixed into this ranking.

23N AI LABS · RESEARCH07 / 12
08 / WHAT WE LEARNED ABOUT YUGSTRENGTHS · LIMITS

What did Yug show alongside its peers?

The clearest signal was about calendar context. No single model won every part of this test.

YUG · HISTORY ONLY

A clear peak appeared in 48% of cases. When present, it was a median 17 days early, with a 29% phantom surge near the old date.

PEERS · HISTORY ONLY

Clear peaks appeared in 33% for TimesFM and 23% for Chronos. Seasonal naive always produced a peak, but it was 20 days early with a 45% old-date surge.

CALENDAR · ALL FOUR

Calendar correction improved WAPE for Yug-1, TimesFM, Chronos, and ETS. In the base setting, ETS improved 10.4 points and Yug-1 10.3.

WHAT LOOKS PROMISING · Yug represented festive peaks distinctly in the selected shift setting.
WHAT WE CANNOT CLAIM · This does not establish a universal model winner, superior business value, or native calendar awareness.

Censor-aware calendar regression had the lowest simulated regret in the reported comparison. Yug-1 + calendar and TimesFM + calendar were only ₹35 apart, with an inconclusive interval.

23N AI LABS · RESEARCH08 / 12
09 / WHAT THIS EVIDENCE SUPPORTSROBUSTNESS · REPRODUCIBILITY

How much confidence should we place in the results?

Repeated runs showed variation, and an independent check recomputed released metrics.

68–80%coverage for a nominal 80% festival-period interval
41.1–42.6%festival WAPE across five Yug-1 seeds
18 / 18independently checked metric values matched

The original seed favored Yug-1 in 15 of 16 comparisons and was unusually favorable. That makes seed sensitivity important to report.

WHAT WAS CHECKED
42 archived synthetic forecast files · 241,920 forecast rows · no non-finite or crossed-quantile rows found. Raw archives of about 367 MB are not in the public repository.
HOW TO READ THIS · Most headline robustness analyses were post-hoc, so they are exploratory rather than confirmatory. No retailer transactions were used. See the technical appendix and reproducibility guide for methods and source records.
23N AI LABS · RESEARCH09 / 12
10 / WHAT THE CODE REVIEW RAISEDIMPLEMENTATION QUESTIONS · NO SYSTEMS BENCHMARK

What questions emerged when we reviewed the model code?

A separate source-level review suggested areas to measure. It did not test serving performance or establish an architectural problem.

YUG-1 · MULTI-SERIES AND HORIZON

The reviewed prediction path iterates over input series and samples trajectories beyond an output block. How do series count and horizon affect quality and end-to-end compute?

TIMESFM 2.5 · BLOCKWISE DECODING

The reviewed implementation uses cached, blockwise decoding. What runtime differences appear at matched horizons and workloads?

CHRONOS-BOLT · DIRECT HORIZON

Its reviewed implementation uses patch-based inputs and predicts configured-horizon quantiles. When do direct-horizon and extended-rollout approaches trade off quality and cost?

BOUNDARY · These are descriptions of reviewed implementations, not performance measurements. The review did not benchmark throughput, p95 latency, GPU memory, or cost per forecast. A per-series loop does not show the underlying model cannot batch.
23N AI LABS · RESEARCH10 / 12
11 / WHAT WE COULD TEST NEXTQUALITY · UNCERTAINTY · COMPUTE

What evidence could help inform the next model?

Measure a forecast-quality versus compute-cost frontier before deciding whether serving changes or model changes are useful.

1 · SERVE MANY SERIES

Vary the number of related and independent series. Compare existing and vectorized paths with the same checkpoint and forecast settings.

2 · TEST TRAJECTORY BUDGETS

Measure forecast quality, calibration, tails, and actual serving cost across sampling budgets, seeds, domains, and horizons.

3 · PROFILE LONG HORIZONS

Measure context and continuation costs, memory, numerical agreement, quality, and calibration before considering caching or reuse.

BUILD STRONGER EVIDENCE · Pin checkpoints and environments; report accuracy, calibration, throughput, tail latency, memory, and cost on matched tasks. Expand synthetic scenarios 100×, then 1,000×. Add public datasets for external validation and, with retailer consent, varied sales histories. Test festival calendars and aligned covariates. Keep newer peer releases in a separate cohort.

Existing Birla AI Labs measurements may narrow what needs testing. Weight adaptation is a later question only if the data and model interface support it.

23N AI LABS · RESEARCH11 / 12
12 / AN INVITATION23N AI LABS × BIRLA AI LABS

Let’s study what makes forecasts dependable in practice.

The Mithai study offers a controlled view of forecast behavior and simulated decisions. A joint study could examine what changes when retail histories, calendars, regions, and operating constraints vary.

View the Yug-1 architecture review Standalone presentation · opens in a new window ↗
23N BRINGS

Research design, careful baselines, scenario analysis, and evaluation that connects forecasts to decisions.

TOGETHER, WE CAN

Agree on a consented data protocol, define the covariate experiment, and report where forecasts are accurate, calibrated, and useful.

THE GOAL

Research that informs the next model, and the conditions under which it can support better planning.

We’d welcome a conversation about co-designing a deeper study on larger, varied sales data.

23N AI LABS · RESEARCH12 / 12