Skip to content

Tiny Time Mixers

Platform Users — Engineers & Low-code Ops Users (ORA / Panel Builder) OR Platform ORA — AI Planning Interface Agent Workflows Plan Visualisation ADK Integration SDK UI — Frontend Shell FDK Architecture Low code Config-driven DDK Schema Definition Code Generator Generated Server MDK WEM DAL Experiment Manager Nexus Deployment Control Live Monitoring Registry Browser SCDK Source Control Pipeline Mgmt Azure DevOps deploys ↓ SDK API — GraphQL Federation Gateway Federation Gateway Component Resolvers Auth & Licensing Plugins: gql-autogeneration Migrator Helm KinD Boilerplate GenAI ··· Microservices — Domain IP Services Data Pipeline Core Platform Metrics & Analytics Spatial & Geo Simulation Event Detection Camera & Device Fire & Resource Opt. Satellite Modelling ↓ Nexus deploys Deployed OR Applications Rail Ops Dashboard Mine Mgmt Dashboard Port Ops Dashboard ··· FDK-built · DDK-backed · MDK-powered · deployed via Nexus ↑ Application Users — Operations Teams (shift managers, analysts, planners)

Overview

The Tiny Time Mixers model provides fast, accurate time-series forecasting using IBM's Tiny Time Mixers (TTM) foundation models. It specializes in zero-shot forecasting — generating predictions without requiring model training or fine-tuning — making it ideal for scenarios where you need quick forecasts across many different time series.

This model is designed for operations teams, demand planners, and analysts who need reliable forecasts for capacity planning, inventory management, resource allocation, and operational decision-making.

Key Capabilities

Zero-Shot Forecasting

  • No Training Required — Generate forecasts immediately without historical model training
  • Multi-Variate Support — Forecast multiple related time series simultaneously
  • Flexible Horizons — Predict from short-term (hours) to long-term (months)
  • Quick Deployment — Start forecasting within minutes

Time-Series Analysis

  • Trend Detection — Identify upward, downward, or stable trends
  • Seasonality Handling — Capture daily, weekly, monthly, and yearly patterns
  • Anomaly Detection — Identify unusual patterns or outliers
  • Pattern Recognition — Learn from historical patterns automatically

Multivariate Forecasting

  • Related Series — Forecast multiple metrics that influence each other
  • Cross-Variable Learning — Use one variable to improve forecasts of others
  • Coherent Predictions — Ensure forecasts respect relationships between variables
  • Scalability — Handle dozens to hundreds of time series

Use Cases

Demand Forecasting

Scenario: A retail chain needs to forecast demand for hundreds of products across multiple locations to optimize inventory.

Workflow:

  1. Load historical sales data (product, location, date, quantity)
  2. Configure forecast horizon (e.g., next 4 weeks)
  3. Run Tiny Time Mixers on all product-location combinations
  4. Generate demand forecasts with confidence intervals
  5. Feed forecasts into inventory optimization model

Value: Reduce stockouts and excess inventory by accurately predicting demand.

Resource Capacity Planning

Scenario: A cloud service provider needs to forecast server capacity requirements to avoid over-provisioning or service degradation.

Workflow:

  1. Collect historical usage metrics (CPU, memory, requests per second)
  2. Set forecast horizon matching provisioning lead time
  3. Forecast future capacity needs
  4. Identify periods of peak demand
  5. Plan infrastructure scaling schedule

Value: Optimize infrastructure costs while maintaining service quality.

Energy Load Forecasting

Scenario: A utility company needs to predict electricity demand to optimize generation scheduling and grid management.

Workflow:

  1. Import historical load data and weather conditions
  2. Configure forecast horizon (24-48 hours ahead)
  3. Generate load forecasts by region and time
  4. Account for seasonal patterns and special events
  5. Optimize generation unit commitment

Value: Balance supply and demand efficiently, reducing costs and emissions.

Predictive Maintenance Scheduling

Scenario: A manufacturing facility needs to predict equipment degradation to schedule maintenance before failures occur.

Workflow:

  1. Monitor equipment sensor readings over time (vibration, temperature, pressure)
  2. Forecast sensor trends into the future
  3. Identify when readings will exceed thresholds
  4. Estimate time until maintenance needed
  5. Schedule maintenance optimally

Value: Prevent unexpected downtime while minimizing maintenance costs.

Model Inputs

The Tiny Time Mixers model accepts:

  • Historical Time Series — Past observations with timestamps
  • Forecast Horizon — How far ahead to predict
  • Context Length — How much historical data to use for forecasting
  • Frequency — Time series granularity (hourly, daily, weekly, etc.)
  • Variable Metadata — Information about what each series represents

Model Outputs

The model produces:

  • Point Forecasts — Single predicted value for each future time step
  • Prediction Intervals — Range of likely values (e.g., 80% or 95% confidence)
  • Trend Components — Underlying trend extracted from data
  • Forecast Accuracy Metrics — Quality indicators for predictions
  • Visualization Data — Time-series plots of historical data and forecasts

Configuration Options

Key parameters you can configure:

  • Forecast Horizon — Number of time steps to predict ahead
  • Context Length — Number of historical points to use (longer = more context)
  • Prediction Interval — Confidence level for uncertainty bounds (e.g., 80%, 95%)
  • Frequency — Time series granularity (H=hourly, D=daily, W=weekly, M=monthly)
  • Model Variant — Different TTM model sizes for speed vs accuracy trade-off

Time Series Requirements

Data Format

Your time series data should:

  • Have regular time intervals (no missing timestamps)
  • Include at least 2-3 cycles of the pattern you want to forecast (e.g., 2-3 weeks for weekly patterns)
  • Be numeric values (counts, measurements, percentages)
  • Have consistent units across time

Data Quality

For best results:

  • Fill Missing Values — Interpolate or forward-fill gaps
  • Handle Outliers — Remove or cap extreme anomalies in historical data
  • Consistent Frequency — Ensure even spacing between observations
  • Sufficient History — Provide enough data to learn patterns (minimum 50-100 points)

Forecasting Strategies

Direct Forecasting

Forecast all future time steps in a single pass:

  • Pros: Fast, consistent predictions
  • Cons: Uncertainty grows for distant predictions
  • Best For: Short to medium horizons (up to 30 days)

Rolling Forecasts

Update forecasts as new data arrives:

  • Pros: More accurate short-term predictions, adapts to changes
  • Cons: Requires ongoing execution
  • Best For: Operational planning with frequent updates

Ensemble Forecasts

Combine multiple models or configurations:

  • Pros: More robust, better uncertainty estimates
  • Cons: Slower, more complex
  • Best For: High-stakes decisions requiring confidence

Seasonal Patterns

The model automatically detects and forecasts seasonal patterns:

Daily Seasonality

  • Hour-of-day patterns (traffic, energy usage)
  • Business hours vs off-hours

Weekly Seasonality

  • Weekday vs weekend differences
  • Day-of-week effects

Monthly Seasonality

  • Day-of-month patterns (billing cycles, payroll)
  • Beginning vs end of month effects

Yearly Seasonality

  • Seasonal trends (holidays, weather)
  • Annual cycles (fiscal years, academic calendars)

Integration with Other Models

The Tiny Time Mixers model works well with:

  • Schedule Generation — Use demand forecasts to optimize scheduling
  • AI Agent Python — Automate forecast generation and interpretation
  • Stats Models — Combine ML forecasts with statistical methods
  • Data Loader — Prepare time series data for forecasting

Performance Notes

  • Context Length — Longer contexts improve accuracy but slow inference
  • Forecast Horizon — Longer horizons are faster but less accurate far out
  • Multivariate — Forecasting many series together is efficient
  • Use Caching — Cache forecasts when input data hasn't changed

Getting Started

Basic Workflow

  1. Prepare Time Series Data — Format historical observations with timestamps
  2. Configure Forecast — Set horizon, context length, and frequency
  3. Add to Workflow — Drag Tiny Time Mixers into workflow canvas
  4. Connect Data — Link time series input
  5. Run Forecast — Execute and visualize predictions

Example: Single Series Forecast

[Load Historical Data] → [Tiny Time Mixers] → [Visualize Forecast]

This workflow loads time series data, generates a forecast, and plots historical values with predictions.

Example: Multi-Product Demand Planning

[Load Sales Data] → [Tiny Time Mixers] → [Aggregate Forecasts] → [Inventory Optimization]

This workflow forecasts demand for all products, aggregates by category, and feeds into inventory planning.

Best Practices

Data Preparation

  1. Clean Historical Data — Remove anomalies and errors
  2. Handle Outliers — Cap or remove extreme values that would skew learning
  3. Consistent Frequency — Ensure even spacing between observations
  4. Sufficient History — Provide at least 50-100 historical points

Forecast Validation

  1. Backtest — Test forecasts on historical data held out from training
  2. Monitor Accuracy — Track forecast error over time
  3. Update Regularly — Refresh forecasts as new data becomes available
  4. Compare to Baseline — Verify improvement over simple methods (e.g., last value)

Operational Use

  1. Automate Updates — Schedule regular forecast refreshes
  2. Include Uncertainty — Use prediction intervals for robust planning
  3. Combine with Judgment — Blend model forecasts with human expertise
  4. Track Performance — Monitor actual vs predicted to refine process

Forecast Accuracy

Expect accuracy to vary by:

  • Predictability — Stable patterns are easier to forecast than chaotic ones
  • Horizon Length — Near-term forecasts are more accurate than far-future
  • Data Quality — Clean, consistent data improves results
  • Seasonality Strength — Strong patterns are easier to extrapolate

Typical accuracy ranges:

  • Short-term (1-7 days): Often within 5-15% error
  • Medium-term (1-4 weeks): Typically 10-25% error
  • Long-term (1-3 months): Can be 20-40% error or more

Troubleshooting

Forecasts Don't Match Patterns

  • Increase context length to capture more history
  • Verify data frequency matches actual pattern
  • Check for data quality issues (missing values, outliers)

High Uncertainty (Wide Intervals)

  • Indicates difficult-to-predict series (noisy or unstable)
  • Gather more historical data if possible
  • Consider combining with other forecasting methods

Model Too Slow

  • Reduce context length
  • Decrease forecast horizon
  • Use smaller model variant
  • Enable caching for repeated forecasts

Next Steps

User documentation for Optimal Reality